package net.peelmeagrape.hibernate.collections;

import net.peelmeagrape.hibernate.xmlgen.GroupingAnnotation;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Specify the values contained in a collection.
 */
@Retention(RUNTIME)
@GroupingAnnotation
public @interface CollectionValue
{
    H8Element[] element() default {};
    OneToMany[] otm() default {};
    ManyToMany[] mtm() default {};
    CompositeElement[] composite() default {};
    ManyToAny[] mta() default {};
}
